﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectEF6
{
    public class Company
    {
        public int Id { get; set; }
        public String Name { get; set; }
        public String Street { get; set; }
        public int Zipcode { get; set; }
        public String City { get; set; }
        public String Country { get; set; }
        public String Email { get; set; }
        public int Phone { get; set; }
        public int Employees { get; set; }

        public Company(int id,String Name, String Street, int Zipcode, String City, String Country, String Email, int Phone, int Employees)
        {
            this.Id = id;
            this.Name = Name;
            this.Street = Street;
            this.Zipcode = Zipcode;
            this.City = City;
            this.Country=Country;
            this.Email=Email;
            this.Phone=Phone;
            this.Employees=Employees;
        }

        public Company()
        {

        }

        public override string ToString()
        {
            return Name;
        }
    }
}
